package com.iqiyi.service.impl;

import com.iqiyi.mapper.ActorMapper;
import com.iqiyi.po.Actor;
import com.iqiyi.service.ActorService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * TODO
 *  演员业务层
 * @author YoungKai
 * @date 2021/2/24 11:37
 */
@Service
public class ActorServiceImpl implements ActorService {
    @Autowired(required = false)
    private ActorMapper actorMapper;
    @Override
    public List<Actor> findActorByVid(int vid) {
        List<Actor> actorByVid = actorMapper.findActorByVid(vid);
        return actorByVid;
    }
}
